package com.example.communitypro.service;

import com.example.communitypro.pojo.UserLikes;
import com.example.communitypro.util.result.Result;

import java.util.List;

public interface UserLikesService {

    Result addUserLikes(UserLikes record);


    Result dropUserLikes(int likeId);


    Result modifyUserLikes(UserLikes record);


    Result queryUserLikes(int likeId);


    Result queryCommunityLike(int user_no);


    Result queryPostLike(int user_no);


    Result queryCommentLike(int user_no);

    Result dropPostLike(int post_no);

    Result dropCommentLike(int comment_no);

    Result UserLikes(UserLikes record);


    List<Integer> findUserToOther(Integer userNo);
    List<Integer> findUserByPost(Integer like_object_no);
}
